#*************************************************************************#
# Replication Files for "Lethal Force in Black and White:                 #
# Assessing Racial Disparities in the Circumstances of Police Killings"   # 
#                    by Shea Streeter                                     #
#*************************************************************************#

This replication archive contains the following files. 

DATA

1. PKAP_raw_data.csv
This file contains the raw data on police killings collected from news articles.
Links to the news sources identified by the Guardian are indicated in variables beginning with "guardian_url" 
and other online sources are identified by variables beginning with "other_url".

2. variable_names.csv
This file contains various versions of the variable names and categories that are used for the data cleaning process.
For a more detailed variable codebook contact the author. 

CODE

1. Full Analysis Replication File.R
This file contains the full code to replicate the analysis in the paper as well as the online appendices. 
This file also sources the other two files needed to clean the data.T
he entire cleaning and analysis can be run from this file. 

2. Cleaning Variables for JOP Analysis.R
This file contains the code to clean the PKAP_raw_data for the analysis. It also sources the file "Clean Expanded Categories.R"

3. Clean Expanded Categories.R
This file must be run in conjunction with the previous file "Cleaning Variables for JOP Analysis.R".
This file cleans the variable names and reduces extraneous columns. 

